<template>
  <div>
    <button @click="clickHandle">按钮</button>
  </div>
</template>

<script>
  export default {
    name: "Child",
    methods:{
      clickHandle(){
      this.$emit('add',3)
      }
    }
  }
</script>

<style scoped>

</style>